﻿﻿using System;
using System.Collections.Generic;
using System.Web;
namespace WebMvc.App.Models.Tips.Common
{
    public class shop_goods
    {
		public string id=null;
		public string subject=null;
		public string fee=null;
		public string qty=null;
		public string body=null;
		public string show_url=null;
		public string total_fee=null;
        public string __name__;
        public shop_goods(string name)
        {
            this.__name__ = name;
			this.id = string.Format("{0}.id",__name__);
			this.subject = string.Format("{0}.subject",__name__);
			this.fee = string.Format("{0}.fee",__name__);
			this.qty = string.Format("{0}.qty",__name__);
			this.body = string.Format("{0}.body",__name__);
			this.show_url = string.Format("{0}.show_url",__name__);
			this.total_fee = string.Format("{0}.total_fee",__name__);
        }
        public shop_goods()
        {
			this.id = string.Format("{0}.id",__name__);
			this.subject = string.Format("{0}.subject",__name__);
			this.fee = string.Format("{0}.fee",__name__);
			this.qty = string.Format("{0}.qty",__name__);
			this.body = string.Format("{0}.body",__name__);
			this.show_url = string.Format("{0}.show_url",__name__);
			this.total_fee = string.Format("{0}.total_fee",__name__);
        }
        public override string ToString()
        {
            if (__name__ == null)
            {
                return "shop_goods";
            }
            else
            {
                return string.Format("shop_goods as {0}",__name__);
            }
        }
    }
}